/*******************************************************************************
*  file    : calcplotwidget.hpp
*  created : 28.08.2014
*  author  : Slyshyk Oleksiy (alexSlyshyk@gmail.com)
*******************************************************************************/

#ifndef CALCPLOTWIDGET_HPP
#define CALCPLOTWIDGET_HPP

#include <QWidget>

namespace Ui {
class CalcPlotWidget;
}
class TPlot;
class DataObject;
class Solutions;

class CalcPlotWidget : public QWidget
{
    Q_OBJECT

public:
    explicit CalcPlotWidget(QWidget *parent = 0);
    ~CalcPlotWidget();
public slots:
    void clearPlots();
    void findPatterns(const DataObject* data);
    void findBaseTime(const Solutions* solutions);
protected:
    void changeEvent(QEvent *e);

private:
    Ui::CalcPlotWidget *ui;
    TPlot              *plot_;
};

#endif // CALCPLOTWIDGET_HPP
